<?php

if(!defined('IN_DISCUZ')) {

	exit('Access Denied');

}

class plugin_csdn123com_kuaibao {

	protected static $csdn123_conf = array();

	public function plugin_csdn123com_kuaibao() {		

		global $_G;

		if(!isset($_G['cache']['plugin'])){

			loadcache('plugin');

		}
		self::$csdn123_conf=$_G['cache']['plugin']['csdn123com_kuaibao'];		
		
	}

}

class plugin_csdn123com_kuaibao_forum extends plugin_csdn123com_kuaibao {

	public function post_top_output() {
		
		global $_G;
		$args=self::$csdn123_conf['hzw_useuid'];
		if(strpos($args,',')===false)
		{
			$argsArr=array($args);
		} else {
			$argsArr=explode(',',$args);
		}
		if(in_array($_G['uid'],$argsArr))
		{
			include template('csdn123com_kuaibao:one_send');		
			return $return;
		}
		
	}		
		
}
	
	
	
	